<html>
<body>
Reports <b>if</b> statements which can be simplified to a single assignment,
<b>return</b> or <b>assert</b> statement.
<p>
For example:
<pre><code>
    <b>if</b> (foo()) {
       <b>return true</b>;
    } <b>else</b> {
       <b>return false</b>;
    }
</code></pre>
can be simplified to
<pre><code>
    <b>return</b> foo();
</code></pre>
<!-- tooltip end -->
<p>Use the option below to not display a warning in case of chained if statement. E.g.:
</p>
<pre><code>
    if (condition1) return true;
    if (condition2) return false;
    return true;
</code></pre>
<p>
  The fix action will still be available in this case.
</p>

</body>
</html>